<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!-- Copyright 1997 The Open Group, All Rights Reserved -->
<title>&lt;sys/timeb.h&gt;</title>
</head><body bgcolor=white>
<center>
<font size=2>
The Single UNIX &reg; Specification, Version 2<br>
Copyright &copy; 1997 The Open Group

</font></center><hr size=2 noshade>
<h4><a name = "tag_000_009_375">&nbsp;</a>NAME</h4><blockquote>
sys/timeb.h - additional definitions for date and time
</blockquote><h4><a name = "tag_000_009_376">&nbsp;</a>SYNOPSIS</h4><blockquote>
<pre><code>

#include &lt;sys/timeb.h&gt;
</code>
</pre>
</blockquote><h4><a name = "tag_000_009_377">&nbsp;</a>DESCRIPTION</h4><blockquote>
The
<i>&lt;sys/timeb.h&gt;</i>
header defines the
<b>timeb</b>
structure that includes at least the following members:
<pre>
<code>
time_t         time     the seconds portion of the current time
unsigned short millitm  the milliseconds portion of the current time
short          timezone the local timezone in minutes west of Greenwich
short          dstflag  TRUE if Daylight Savings Time is in effect
</code>
</pre>
<p>
The <b>time_t</b> type is defined as described in &lt;<b>sys/types.h</b>&gt;.
<p>
The header &lt;<b>sys/timeb.h</b>&gt; declares the following as a function which may
also be defined as a macro.
Function prototypes must be provided for use with an ISO C
compiler.
<pre>
<code>
int   <a href="ftime.html">ftime</a>(struct timeb *);
</code>
</pre>
</blockquote><h4><a name = "tag_000_009_378">&nbsp;</a>APPLICATION USAGE</h4><blockquote>
None.
</blockquote><h4><a name = "tag_000_009_379">&nbsp;</a>FUTURE DIRECTIONS</h4><blockquote>
None.
</blockquote><h4><a name = "tag_000_009_380">&nbsp;</a>SEE ALSO</h4><blockquote>
<i><a href="ftime.html">ftime()</a></i>,
&lt;<b>time.h</b>&gt;.
</blockquote><hr size=2 noshade>
<center><font size=2>
UNIX &reg; is a registered Trademark of The Open Group.<br>
Copyright &copy; 1997 The Open Group
<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]

</font></center><hr size=2 noshade>
</body></html>
